export {};

// object(常用) Object {}
let obj: object = {a:1};
let arr: object = [1];

// let num: object = 20;   // 报错
// let str: object = 'hello'; // 报错
// object 不包含基础数据类型

let obj1: Object = {b:1};
let arr1: Object = [2, 3];
let num1: Object = 2;
let str1: Object = '2';
let bool1: Object = true;
//  Object 包含基础数据类型

let obj2: {} = {b:1};
let arr2: {} = [2, 3];
let num2: {} = 2;
let str2: {} = '2';
let bool2: {} = true;
// {} 等效于Object 也包含基础数据类型